﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using SMG.Domain.Specifications;
using SMG.Domain.Model.Program;

namespace SMG.Domain.Specifications.Program
{
    public class BillVersionIdEqualSpecification : Specification<ProgramBill>
    {
        private readonly long versionId;
        public BillVersionIdEqualSpecification(long versionId)
        {
            this.versionId = versionId;
        }

        public override global::System.Linq.Expressions.Expression<Func<ProgramBill, bool>> GetExpression()
        {
            return b => b.VersionId == versionId;
        }
    }
}
